package com.pi.shisan.service.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pi.shisan.service.domain.MyWeatherCity;
import com.pi.shisan.service.domain.WeatherCity;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface MyWeatherCityMapper extends BaseMapper<MyWeatherCity> {

    @Select("select city_record_id from led_my_weather_city limit 1")
    Long selectMyCityRecordId();

    @Delete("delete from led_my_weather_city")
    int clear();

}
